<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>添加课程</title>
    <link href="__CSS__/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__CSS__/font-awesome.css?v=4.4.0" rel="stylesheet">


    <link href="__CSS__/animate.css" rel="stylesheet">
    <link href="__CSS__/style.css?v=4.1.0" rel="stylesheet">
    <link href="__CSS__/admin/Course/addcourse.css" rel="stylesheet">

    <!--<script src="__JS__/jquery-1.11.3.js"></script>-->
    <!--<script src="__JS__/jquery.validate.js" ></script>-->
    <script src="http://static.runoob.com/assets/jquery-validation-1.14.0/lib/jquery.js"></script>
    <script src="http://static.runoob.com/assets/jquery-validation-1.14.0/dist/jquery.validate.min.js"></script>
    <script src="http://static.runoob.com/assets/jquery-validation-1.14.0/dist/localization/messages_zh.js"></script>


</head>
<body>
{block name="body"}
<div style="   width:100%;
    height:7%;
    background-image:url('__IMAGES__/QQ图片20170717152104.png') ;
background-size: 100% 100%;"></div>
<div class="index">

    <form id="forms" >
        <p><div class="title">课程名字</div>  <input type="text"  name="record_name"  onsubmit="submit()" value=""></p>
        <p> <div class="title">方向</div>
           <select  style="display: inline-block;"  onchange="onchaange(this)">
               {volist name="array" id="value"}e
               {if condition="($value.id eq 1)"}
               <option value="{$value.name}" selected="true">{$value.name}</option>
               {else/}
               <option value="{$value.name}">{$value.name}</option>
               {/if}
               {/volist}
            </select>
        </p>
        <p> <div class="title">分类</div>
           <select   name="category"  id="fine" style="display:inline-block;" >
               {volist name="array1" id="val"}
               <option value="{$val.record_name}">{$val.record_name}</option>
               {/volist}
            </select>
        </p>
        <p><div class="title">课程简介</div>  <input  name="introduce"  value=""></p>
        <p><div class="title">课程难度</div>
        <select name="difficulty" >
            <option value="中等">中等</option>
            <option value="困难">困难</option>
            <option value="简单">简单</option>
        </select>
        </p>
        <p><div class="title">课程收费 ：</div>  <input type="text" name="charge"   value="">
        </p>

        <div class="text-center" style="width: 100%">
        <button type="submit" class="btn btn-lg">确认添加</button>
        </div>
    </form>
</div>





{/block}
</body>
</html>
<!--{block name="js"}-->
<!--<script>-->
    <!--var url="{:url('Course/update')}";-->
    <!--var locationurl="{:url('Course/read')}";-->
    <!--//    $(function () {-->
    <!--// alert(123);-->
    <!--//        alert($("#form"));\-->
    <!--//        debugger;-->

    <!--//    });-->
<!--</script>-->
<script src="__JS__/admin/Course/addcourse.js"></script>
<!--{/block}-->
<script>
    var chengeurl = "{:url('Course/change')}";
    var locationurl = "{:url('Course/read')}";
    var url = "{:url('Course/addcourse')}";

</script>